<?php
namespace haibao\cms\model\data;

class ImageSphinxDb extends Base{
	
	const STATUS_ENABLE = 1;
	const STATUS_DISABLE = 0;
	
	public $Content = '';
	public $Status;
	public $CreateTime;
	public $IndexTime;
	public $RecordId;
	public $Heat = 0;
	public $DownNum = 0;
	public $MarkNum = 0;
	public $Tags = '';
	public $Description = '';

	public $ImageTagIds = array();
	public $TagIds = array();
	
	public function __construct(){
		parent::__construct();
		$this->stringField('Description', 'Description',true);
		$this->stringField('Tags', 'Tags',true);
		$this->intField('RecordId','RecordId',true);
		$this->intField('Status', 'Status', true);
		$this->dateField('CreateTime', 'CreateTime', true);
		$this->dateField('IndexTime', 'IndexTime', true);
		$this->stringField('Content', 'Content',true);
		$this->intField('Heat', 'Heat',true);
		$this->intField('DownNum', 'DownNum',true);
		$this->intField('MarkNum', 'MarkNum',true);
		$this->setTableName('ImageSphinxDb');
	}
}